
#include <stdio.h>

int main() 
{
    char a[2]; // Array to hold two characters (plus one for the null terminator)
    char b[3]; // Array to hold two characters (plus one for the null terminator)

    a[0] = '醋'; // Store the first character of the string '醋'
    a[1] = '\0'; // Null terminator to mark the end of the string
    b[0] = '酱'; // Store the first character of the string '酱油'
    b[1] = '油'; // Store the second character of the string '酱油'
    b[2] = '\0'; // Null terminator to mark the end of the string

    printf("%s\n", a); // Print the string '醋'
    printf("%s\n", b); // Print the string '酱油'

    // Swap the strings
    char temp = a[0];
    a[0] = b[0];
    b[0] = temp;

    printf("%s\n", a); // Print the swapped string '酱油'
    printf("%s\n", b); // Print the swapped string '醋'

    return 0;
}
